<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        div{
            width: 500px;
            color:rgba(2,0,0,8);
            direction: rtl;
        }
        span.content{
            display:inline-block;
        }
    </style>
</head>
<body>
<div>
    <span class="content">hello world</span>
    <span>hello world22</span>
    <span>hello world22.1</span>
    <span class="content">hello world33</span>
    <button>1</button>
    <button>2</button>
</div>

</body>
</html>